class CreateBusinesses < ActiveRecord::Migration
  def self.up
    create_table :businesses do |t|
      t.integer :overall_rating
      t.integer :price_rating
      t.string :type
      t.string :website_url
      t.string :street1
      t.string :street2
      t.string :neigbourhood
      t.string :city
      t.string :state
      t.integer :zip_code
      t.integer :number_of_overal_ratings
      t.integer :number_of_price_ratings

      t.timestamps
    end
  end

  def self.down
    drop_table :businesses
  end
end
